package com.tm.media.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author Ly
 * @Data 2023/3/7 18:59
 * @ClassName ApCommentEntity
 */
@Data
@TableName("ap_comment")
public class ApCommentEntity {
    @TableId(type = IdType.AUTO)
    private Integer	id;
    private Integer	authorId;
    private    String	authorName;
    private   Integer	entryId;
    private   Integer	channelId;
    private   Integer	type;
    private   String	content;
    private   String	image;
    private   Integer	likes;
    private   Integer	reply;
    private   Integer	flag;
    private   String	address;
    private   Integer	ord;
    private   LocalDateTime	createdTime;
    private LocalDateTime updatedTime;
    @TableField(exist = false)
    private List<ApCommentRepayEntity>apCommentRepayEntitylist;
}
